package cn.com.oceansoft.business.os.api.qrcode.service;

import cn.com.oceansoft.business.os.api.qrcode.domain.CheckIn;
import cn.com.oceansoft.business.os.api.qrcode.domain.User;

import java.util.List;
import java.util.Map;

/**
 * 数据库操作映射器
 * @author: zhuya
 * @time: 2016/12/26 0026 下午 19:28
 */
public interface IQrcodeService {


    User findUserByIdAndName(Map<String, String> param);

    String saveCheckIn(CheckIn checkIn);

    boolean checkUserLogin(String openId);

    List<CheckIn> findtAwardList(String awardid,String votes);

    void saveAwardResult(String userid, String awardid);

    int checkIsCheckIn(User user);

    CheckIn findCheckInByOpenId(String openId);
}
